package qiulei;

public class Test {
    public static void main(String[] args) {
//        Football f = new Football();
//        f.play();
//        System.out.println(f.play());
//        System.out.println(f.play(10,20));
//        System.out.println(f.play(4));
//
//        Bs b=new Bs();
//        b.play();
//        System.out.println(b.play());
//        System.out.println(b.play(10,2));
//        System.out.println(b.play(6));

        Basktball b=new Basktball("足球","巨大","橡胶","一吨","美女","脚趾");
        System.out.println(b.play());
        System.out.println(b.toString());
        System.out.println(b.play(10,20));
        System.out.println(b.play(4));


        Football f=new Football("篮球","巨大","橡胶","五吨","帅哥","手指");
        System.out.println(f.play());
        System.out.println(f.toString());
        System.out.println(f.play(10,5));
        System.out.println(f.play(6));
    }
}
